package part1.oo.ooday02;

public class Test {
    public static void main(String[] args) {

        Dog dog = new Dog("明明",2,"黑");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chick = new Chick("花花",3,"白");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish = new Fish("金金",4,"金");
        fish.eat();
        fish.drink();
    }
}
